package com.level2app.ui.account;

import com.level2app.R;
import com.level2app.base.BaseActivity;
import com.level2app.base.BaseViewModel;
import com.level2app.databinding.ActivityLegalBinding;

import io.reactivex.functions.Consumer;

public class LegalActivity extends BaseActivity<ActivityLegalBinding, BaseViewModel> {

    @Override
    protected BaseViewModel bindModel() {
        return getViewModel(this, BaseViewModel.class);
    }

    @Override
    protected void initInject() {
        getActivityComponent().inject(this);
    }

    @Override
    protected void initData() {
        initTitleBar(getString(R.string.legal));
    }

    @Override
    protected void initClick() {
        viewModel.onDelayClick(binding.cancellationPolicyTv, o -> {

        });

        viewModel.onDelayClick(binding.privacyPolicyTv, o -> {

        });

        viewModel.onDelayClick(binding.termsOfUseTv, o -> {

        });

        viewModel.onDelayClick(binding.creatorModePolicyTv, o -> {

        });
    }
}